@extends('layouts.template')

@section('title', '待报价订单')

@section('header')
@endsection

@section('content')
<div>

    @if ($order->status->canceled)
        <div class="tk07">
            <h2>订单交易已取消</h2>
            <p>关闭原因：商家已操作取消订单。</p>
            <p>操作时间：{{$order->status->upd_time}}</p>
        </div>
    @elseif ($order->status->closed)
        @if ($order->refund->refund_agree)
            <div class="tk07">
                <h2>订单交易已关闭</h2>
                <p>关闭原因：您已同意{{$order->refund->refund_type_text}}。</p>
                <p>操作时间：{{$order->refund->refund_result_time}}</p>
            </div>
        @elseif ($order->refund->arbitrate_agree)
            <div class="tk07">
                <h2>订单交易已关闭</h2>
                <p>关闭原因：客服已仲裁同意{{$order->refund->arbitrate_result_type_text}}。</p>
                <p>操作时间：{{$order->refund->arbitrate_result_time}}</p>
            </div>
        @endif
    @endif

</div>

@endsection